//
//  HMSelectTitleBtn.h
//  HMMarket
//
//  Created by maimaigo3 on 2017/5/25.
//  Copyright © 2017年 homai. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HomeCategory.h"
@protocol HMSelectTitleBtnDelegate <NSObject>

- (void)selectItem;

@end

@interface HMSelectTitleBtn : UIView

NS_COPY void(^selectTitle)(HomeCategoryDetail *cate);
NS_COPY void(^dismiss)();

NS_STRONG HomeCategoryDetail *cate;

//@property (nonatomic,)

- (instancetype)initWithFrame:(CGRect)frame HomeCategory:(HomeCategoryDetail *)cate;

- (instancetype)initWithFrame:(CGRect)frame imageURL:(NSString *)imageURL title:(NSString *)title;

@end
